﻿using UnityEngine;
using System.Collections;

public class CameraController : MonoBehaviour {
	
	public CharacterController cc;
	public float speed;
	// Use this for initialization
	void Start () {
		cc = GetComponent<CharacterController>();
	}
	
	// Update is called once per frame
	void Update () {
		cc.Move(Vector3.right * Time.deltaTime * speed * 1.4f);
			
	}
}
